<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>GadgetToolTip</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">GadgetToolTip()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#3A3966"><b>GadgetToolTip</b></font>(#Gadget, Text$)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Associate the specified Text$ with the #Gadget. A tooltip text is text which is displayed 
when the mouse cursor is over the gadget for a small amount of time (typically a yellow floating box). 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Gadget</i></td>
<td width="90%"> 
 
The gadget to use. 

 

</td></tr>
<tr><td><i>Text$</i></td>
<td> 
 
The tooltip text. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>备注</b></p><blockquote>



The following gadgets are supported: 
<br>
<br>
- <a href="buttongadget.html">ButtonGadget()</a> <br>
- <a href="buttonimagegadget.html">ButtonImageGadget()</a> <br>
- <a href="calendargadget.html">CalendarGadget()</a> <br>
- <a href="canvasgadget.html">CanvasGadget()</a> <br>
- <a href="checkboxgadget.html">CheckBoxGadget()</a> <br>
- <a href="comboboxgadget.html">ComboBoxGadget()</a> <br>
- <a href="containergadget.html">ContainerGadget()</a> <br>
- <a href="dategadget.html">DateGadget()</a><br>
- <a href="editorgadget.html">EditorGadget()</a> <br>
- <a href="explorerlistgadget.html">ExplorerListGadget()</a> <br>
- <a href="explorertreegadget.html">ExplorerTreeGadget()</a> <br>
- <a href="hyperlinkgadget.html">HyperLinkGadget()</a> <br>
- <a href="imagegadget.html">ImageGadget()</a><br>
- <a href="ipaddressgadget.html">IPAddressGadget()</a> <br>
- <a href="listicongadget.html">ListIconGadget()</a><br>
- <a href="listviewgadget.html">ListViewGadget()</a> <br>
- <a href="mdigadget.html">MDIGadget()</a> <br>
- <a href="openglgadget.html">OpenGLGadget()</a> <br>
- <a href="optiongadget.html">OptionGadget()</a> <br>
- <a href="panelgadget.html">PanelGadget()</a> <br>
- <a href="progressbargadget.html">ProgressBarGadget()</a> <br>
- <a href="scrollbargadget.html">ScrollBarGadget()</a> <br>
- <a href="spingadget.html">SpinGadget()</a> <br>
- <a href="splittergadget.html">SplitterGadget()</a> <br>
- <a href="stringgadget.html">StringGadget()</a> <br>
- <a href="trackbargadget.html">TrackBarGadget()</a> <br>
- <a href="treegadget.html">TreeGadget()</a> 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">OpenWindow</font>(0, 0, 0, 270, 100, "GadgetTooltip", <font color="#924B72">#PB_Window_SystemMenu</font> | <font color="#924B72">#PB_Window_ScreenCentered</font>)
<font color="#3A3966">    ButtonGadget</font>(0, 10, 30, 250, 30, "Button with tooltip")
<font color="#3A3966">    GadgetToolTip</font>(0, "Tooltip for Button")
    <b><font color="#3A3966">Repeat</font></b> : <b><font color="#3A3966">Until</font></b> <font color="#3A3966">WaitWindowEvent</font>() = <font color="#924B72">#PB_Event_CloseWindow</font>
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>
<br>
<p><img src="../HelpPictures/gadgettooltip.png"></p>

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=gadgetitemid.html>GadgetItemID()</a> - <a href="index.html">Gadget Index</a> - <a href="gadgettype.html">GadgetType()</a> -&gt;<br><br>

</body></html>